package com.dk.service;

import com.dk.Vo.TBookVo;
import com.dk.pojo.TBook;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface TBookServiceI {

    PageInfo<TBookVo> getInfoServer(Integer pageNum, Integer pageSize,String bookName,Integer publisher,Integer author,Integer bookCategory);

    void addById(TBook tBook);

    void deleteBatch(Integer[] ids);

    TBook getUpdateInfo(Integer bookId);

    void updateById(TBook tBook);

    PageInfo<TBookVo> getInfoServers(Integer pageNum, Integer pageSize, String bookName, Integer publisher, Integer author, Integer bookCategory);

    TBook getUpdateInfos(Integer bookId);

    void updateState(TBook tBook);
}
